package com.sh.data.engine.domain.normalization.modeldesign.busmatrix.model.param;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author : changkong
 * @date : 2022/1/7
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SaveLogicRelParam {

    private Long dimColId;

    private Long factRowId;

    private List<RelField> relFields;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class RelField {
        private String factField;

        private String dimField;
    }
}
